package com.hontech.bv.model.ice

import com.hontech.bv.utils.isBitSet

class Ctrl (value: Int) {

    val isCompOpen = value.isBitSet(0)
    val isFanOpen = value.isBitSet(1)
    val isValveOpen = value.isBitSet(2)
    val isDropIceOpen = value.isBitSet(3)
    val isPumpOpen = value.isBitSet(4)
    val isStirMotorOpen = value.isBitSet(5)
}

